from django.contrib import admin
from comicinfo.models import ComicInfo, ComicKind, ComicIndex


# Register your models here.
class ComicIndexAdmin(admin.ModelAdmin):
    pass


class ComicInfoAdmin(admin.ModelAdmin):
    list_display = ['id', 'book_name', 'kind_list']


class ComicKindAdmin(admin.ModelAdmin):
    list_display = ['id', 'kind_name', 'comic_list']


admin.site.register(ComicIndex, ComicIndexAdmin)
admin.site.register(ComicInfo, ComicInfoAdmin)
admin.site.register(ComicKind, ComicKindAdmin)

